package org.xyl.game.service;

import org.springframework.data.jpa.repository.JpaRepository;
import org.xyl.game.dto.UpdateCountRet;
import org.xyl.game.entity.Mygame;

import java.util.List;

public interface MyGameService {
    boolean startGame(int roomid);

    boolean finishGame(int roomid, String username, int mycount, String result);

    List<Mygame> historyGame(String username);

    UpdateCountRet updateCount(int roomid, String team, int count);
}
